<?php

function askmdp()
{
  echo 'Veuillez entrer votre mot de passe : (d&eacute;faut : mdp)<br />';
  echo '<form method="POST" action="index.php">
<input type="password" name="mdp" value="" />
<input type="submit" name="connect" value="Connexion"></form>';

}

function head($page)
{
  $pagetitle = 'Diffuweb';
  $title = 'DIFFUWEB - Gestionnaire de diffusion militante / ' . $page;
  echo '<html><head><title>' . $pagetitle . '</title></head><body>';
  echo '<h1>' . $title . '</h1><br />';
}

function menu()
{
  echo '<form method="POST" action="index.php"><hr><a href="index.php?page=accueil">[ACCUEIL]</a> ';
  echo '<a href="index.php?page=matos">[MATOS]</a> ';
  echo '<a href="index.php?page=diff">[DIFF]</a> ';
  echo '<a href="index.php?page=stats">[STATS]</a> ';
  echo '<a href="index.php?page=config">[CONFIG]</a>';
  echo '<input type="submit" name="deco" value="Deconnection"></form><hr />';

}

function footer()
{
  echo '<br /><hr>2011 Damien Michaudet pour le PCF</body></html>';
}

?>